from tkinter import *
win = Tk ()
win.geometry ('500x500')
win.minsize (500,500)
canvas = Canvas (bg = 'orange', width = 500, height = 500)
canvas.pack (anchor = CENTER, expand = 1)
coord  = [0,0,    10,0,    10,10,   20,10,    20, 20,    10,20,   10,30,    0,30,     0,0]
canvas.create_polygon (coord )
win.mainloop ()
